package ee.propaganda.gparrot.client.model;

import java.util.Vector;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import ee.propaganda.gparrot.client.app.ajax.NotLoggedInException;


@RemoteServiceRelativePath("data")
public interface DataService extends RemoteService {
	public Vector<ServiceInfo> update(LoginInfo loginInfo, ServiceInfo si) throws NotLoggedInException;
	public void updateAll(LoginInfo loginInfo, Vector<ServiceInfo> registeredServices) throws NotLoggedInException;
	public Vector<ServiceInfo> getServices(LoginInfo loginInfo) throws NotLoggedInException;
}
